home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / sswitchxp152.exe / source / SpeedswitchXP / MachOptions.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-07-12  |  1.6 KB  |  62 lines

  1. /*
  2.    SpeedswitchXP V1.5
  3.    - Windows XP CPU Frequency Control for Notebooks -
  4.  
  5.    Copyright(c) 2002-2005 Christian Diefer
  6.  
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License version 2 as 
  9.    published by the Free Software Foundation.
  10.    
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.    
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. #pragma once
  22.  
  23.  
  24. // CMachOptions dialog
  25.  
  26. class CMachOptions : public CDialog
  27. {
  28.     DECLARE_DYNAMIC(CMachOptions)
  29.  
  30. public:
  31.     CMachOptions(CWnd* pParent = NULL);   // standard constructor
  32.     virtual ~CMachOptions();
  33.   void setVars();
  34.   void getVars();
  35.   BOOL power;
  36.  
  37. // Dialog Data
  38.     enum { IDD = IDD_MACHOPT };
  39.  
  40. protected:
  41.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.     virtual BOOL OnInitDialog();
  43.   virtual BOOL PreTranslateMessage( MSG* pMsg );
  44.  
  45.     DECLARE_MESSAGE_MAP()
  46.  
  47. private:
  48.   void addToolTip( int no, int id, CString str );
  49.  
  50.   int m_iMinSleepAC;
  51.   int m_iMinSleepDC;
  52.   int m_iRedLatSleepAC;
  53.   int m_iRedLatSleepDC;
  54.   int m_iDozeTimeoutAC;
  55.   int m_iDozeTimeoutDC;
  56.   int m_iDozeS4TimeoutAC;
  57.   int m_iDozeS4TimeoutDC;
  58.   int m_iMinThrottleAC;
  59.   int m_iMinThrottleDC;
  60.   CToolTipCtrl m_tToolTip[10];
  61. };
  62.